<% content_for :title do %>系统主页<% end %>

<!-- 、公安管控、社会管理、 -->

<div class="row">

<div class="col-md-6">
  	<div class="panel panel-info">
  		<div class="panel-heading">社会管理</div>
  		<div class="panel-body">
    		分类数量：<%= DataType.get_count("社会管理") %>
  		</div>
</div>

</div>

<div class="col-md-6">
<div class="panel panel-success">
	<div class="panel-heading">社会公开</div>
	<div class="panel-body">
		分类数量：<%= DataType.get_count("社会公开") %>
	</div>
</div>
</div>

<div class="col-md-6">
  	<div class="panel panel-warning">
  		<div class="panel-heading">公安管控</div>
  		<div class="panel-body">
    		分类数量：<%= DataType.get_count("公安管控") %>
  		</div>
</div>

</div>

<div class="col-md-6">
<div class="panel panel-danger">
	<div class="panel-heading">技侦侦控</div>
	<div class="panel-body">
		分类数量：<%= DataType.get_count("技侦侦控") %>
	</div>
</div>
</div>

    
</div>


<div class="panel panel-default">
  <div class="panel-heading">欢迎: <%= current_user.name %></div>
  <div class="panel-body">
    当前登录时间: <%= time_str current_user.current_sign_in_at %> 
    当前登录IP: <%= current_user.current_sign_in_ip %>
  </div>
</div>